package gov.fema.hazus.bdc.client.common.handlers;

import com.google.gwt.core.client.GWT;

public abstract class LoggingAsyncHandler 
	extends AbstractAsyncHandler {

	public final void onFailure(Throwable caught)
	{
		GWT.log("LoggingAsyncHandler: RPC Failure [" + this.getClass().getName() + "]", caught);
		super.onFailure(caught);
	}

	public final void onSuccess (Object result)
	{
		GWT.log("LoggingAsyncHandler: RPC Success [" + this.getClass().getName() + "]", null);
		super.onSuccess(result);
	}


}
